<?
import ("stock_analyser_AnalyserView");
import ("stock_analyser_ChartView");
import ("stock_analyser_TableView");
stock_analyser_AnalyserConfig::$config = new stock_analyser_AnalyserConfig();
class stock_analyser_AnalyserConfig extends jsml_Config {
	public static $config;

	public $AnalyserView = 'AnalyserView';
	public $ChartView = 'ChartView';
	public $ChartView2 = 'ChartView2';
	public $ChartView3 = 'ChartView3';
	public $TableView = 'TableView';
	protected function configBean($key) {
		$bean = parent::configBean($key);
		if ($this->AnalyserView == $key) {
			$bean = $this->singleton($key, new stock_analyser_AnalyserView())->construct(null);
		} else if ($this->ChartView == $key) {
			$bean = $this->prototype($key, new stock_analyser_ChartView())->construct($key);
		} else if ($this->ChartView2 == $key) {
			$bean = $this->prototype($key, new stock_analyser_ChartView())->construct($key);
		} else if ($this->ChartView3 == $key) {
			$bean = $this->prototype($key, new stock_analyser_ChartView())->construct($key);
		} else if ($this->TableView == $key) {
			$bean = $this->singleton($key, new stock_analyser_TableView())->construct($key);
		}
		return $bean;
	}
}